package com.mg.admin.service.admin;

import com.mg.admin.bean.admin.OrganizationVO;
import com.mg.admin.page.PageBean;
import com.mg.admin.page.PageParam;

import java.util.List;

public interface OrganizationService {

    List<OrganizationVO> findChildByParentId(Long orgId);

    void insertOne(OrganizationVO organizationVO);

    void updateOne(OrganizationVO organizationVO);

    void delete(Long id);

    OrganizationVO findById(Long id);

    PageBean findByParentId(Long orgId, PageParam pageParam);
}
